<?php

/* * *********************************************************** */
/* * ********************** Classe formaPagamentoDao ********************* */
/* * ************ Desenvolvido por Antônio Ezequiel ************** */
/* * *********************************************************** */

class FormaPagamentoDao extends FormaPagamento {

    public function listarFormasPagamento() {

        global $configurator;

        parent::conectarBD();

        $queri = parent::query("select fpa_codigo as codigo, fpa_descricao as descricao
                                from tbl_forma_pagamento");
        if ($queri) {
            $dados = parent::fetch_rows($queri);
            parent::desconectarBD();
            return $dados;
        } else {
            parent::desconectarBD();
            return false;
        }
    }    

}

?>
